← Back to issue list

snapcraft requested file bug report

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1829413
Type
issue
State
open
Author
~pqa
Labels
Created
2019-05-16 16:17:25.436736+00:00
Updated
2019-05-16 16:17:25.436736+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When trying to build the keepalived snap on Xenial, following a compile failure snapcraft produced the following: notify.c: In function ‘check_script_secure’: notify.c:934:41: error: ‘magic_desc’ undeclared (first use in this function) log_message(LOG_INFO, "magic_desc: %s", magic_desc); ^ notify.c:934:41: note: each undeclared identifier is reported only once for each function it appears in notify.c:935:15: warning: declaration of ‘magic_desc’ shadows previous non-variable [-Wshadow] const char *magic_desc = magic_file(magic, real_file_path ? real_file_path : script->args[0]); ^ Makefile:413: recipe for target 'notify.o' failed make[2]: *** [notify.o] Error 1 make[2]: Leaving directory '/home/quentin/keepalived/github/parts/keepalived/build/lib' Makefile:322: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/quentin/keepalived/github/parts/keepalived/build/lib' Makefile:430: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Failed to run 'make -j1' for 'keepalived': Exited with code 2. Verify that the part is using the correct parameters and try again. quentin@ubuntu-16-04-1:~/keepalived/github$ Sorry, an error occurred in Snapcraft: Traceback (most recent call last): File "<string>", line 5, in <module> File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke return callback(*args, **kwargs) File "/usr/lib/python3/dist-packages/snapcraft/cli/snapcraftctl/_runner.py", line 75, in set_version _call_function("set-version", {"version": version}) File "/usr/lib/python3/dist-packages/snapcraft/cli/snapcraftctl/_runner.py", line 104, in _call_function with open(call_fifo, "w") as f: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpis97bnmx/function_call' We would appreciate it if you created a bug report at https://launchpad.net/snapcraft/+filebug with the above text included. The version of snapcraft is 2.43.1. It is installed with apt, and is not a snapped version.

Evaluation history

No evaluation history available.